package com.yztc.yidoutang.bean;

import com.j256.ormlite.field.DataType;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * Created by My on 2016/10/19.
 */
@DatabaseTable(tableName = "SearchHistory")
public class SearchHistoryBean {
    @DatabaseField(columnName = "_id",generatedId = true)
    private int id;
    @DatabaseField(columnName = "querytext",dataType = DataType.STRING)
    private String queryWords;

    public SearchHistoryBean() {
    }

    public SearchHistoryBean(String queryWords) {
        this.queryWords = queryWords;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getQueryWords() {
        return queryWords;
    }

    public void setQueryWords(String queryWords) {
        this.queryWords = queryWords;
    }
}
